package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author admin
 * @title: PaymentFallbackService
 * @projectName cloud2021
 * @description: TODO
 * @date 2021/11/11 14:41
 */
@Component
public class PaymentFallbackService  implements PaymentHystrixService{
    @Override
    public String paymentInfo_ok(Integer id) {
        return "----PaymentFallbackService fall back——paymentInfo_ok,O(∩_∩)O哈哈~";
    }

    @Override
    public String paymentInfo_timeout(Integer id) {
        return "----PaymentFallbackService fall back——paymentInfo_timeout,O┭┮﹏┭┮";
    }
}
